package com.ev.hr.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ev.hr.dao.SalaryFormulaChildDao;
import com.ev.hr.domain.SalaryFormulaChildDO;
import com.ev.hr.service.SalaryFormulaChildService;



@Service
public class SalaryFormulaChildServiceImpl implements SalaryFormulaChildService {
	@Autowired
	private SalaryFormulaChildDao salaryFormulaChildDao;
	
	@Override
	public SalaryFormulaChildDO get(Long id){
		return salaryFormulaChildDao.get(id);
	}
	
	@Override
	public List<SalaryFormulaChildDO> list(Map<String, Object> map){
		return salaryFormulaChildDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return salaryFormulaChildDao.count(map);
	}
	
	@Override
	public int save(SalaryFormulaChildDO salaryFormulaChild){
		return salaryFormulaChildDao.save(salaryFormulaChild);
	}
	
	@Override
	public int update(SalaryFormulaChildDO salaryFormulaChild){
		return salaryFormulaChildDao.update(salaryFormulaChild);
	}

	@Override
	public int updateAll(SalaryFormulaChildDO salaryFormulaChild){
		return salaryFormulaChildDao.updateAll(salaryFormulaChild);
	}
	
	@Override
	public int remove(Long id){
		return salaryFormulaChildDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return salaryFormulaChildDao.batchRemove(ids);
	}

	@Override
	public void removeByMainId(Long mainId) {
		salaryFormulaChildDao.removeByMainId(mainId);
	}

	@Override
	public List<Map<String, Object>> listForMap(Map<String, Object> param) {
		return salaryFormulaChildDao.listForMap(param);
	}

}
